#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int Prime(int x)
{
	int m,a;
	for (m = 2; m < x; m++)
	{
		if (x % m == 0)
		{
			a = 0;
			break;
		}
		else
			a = 1;
	
	}if (a ==1)
		printf("%d  ", x);
		
	
}
int main()
{
	int i;
	for (i = 100; i <= 1000; i++)
	{
		Prime(i);
	}
	return 0;
}
